<extend name="Public/usercenter"/>

<block name="body">
    <div class="uc_care common_block_border clearfix mt_0" style="min-height:466px;padding-top: 20px;padding-bottom: 20px">
        <div style=";min-height: 300px">
        <if condition="$tabHash eq 'fans'">
            <ul>
                <if condition="!$fans"><p class="text-muted" style="text-align: center; font-size: 3em;">
                    <br><br>
                    现在还没有人膜拜您吆。O(∩_∩)O~
                    <br><br><br>
                </p></if>
                <volist name="fans" id="vl">
                    <li class="col-md-6 col-xs-12">
                        <div class="clearfix">
                            <dl class="dl-horizontal mb_0">
                                <dt><img src="{$vl.user.avatar128}" class="img-responsive"></dt>
                                <dd>
                                    <div><a href="{$vl.user.space_url}" ucard="{$vl.uid}" style="font-size: 20px;">{$vl.user.nickname}</a></div>
                                    <div>上海 浦东</div>
                                    <div>模特</div>
                                    <div>
                                        膜拜 <a><span>{$vl.user.fans}</span></a>&nbsp;&nbsp;
                                        帮忙 <a><span>4</span></a>
                                    </div>
                                </dd>
                            </dl>
                            <div>
                                <if condition="$vl['is_following']">
                                    <a href="{:U('Usercenter/Message/care_delete',array('uid'=>$vl['user']['uid']))}"><attr title="取消膜拜"><img src="__IMG__/care_delete.jpg" class="img-responsive"></attr></a>
                                    <else/>
                                    <a href="{:U('Usercenter/Message/care_add',array('uid'=>$vl['user']['uid']))}"><attr title="膜拜他"><img src="__IMG__/care_add.jpg" class="img-responsive"></attr></a>
                                </if>
                            </div>
                        </div>
                    </li>
                </volist>
            </ul>
        </if>
        <if condition="$tabHash eq 'following'">
        <ul>
            <if condition="!$following"><p class="text-muted" style="text-align: center; font-size: 3em;">
                <br><br>
                您还没有膜拜任何人吆。O(∩_∩)O~
                <br><br><br>
            </p></if>
            <volist name="following" id="vl">
            <li class="col-md-6 col-xs-12">
                <div class="clearfix">
                    <dl class="dl-horizontal mb_0">
                        <dt><img src="{$vl.user.avatar128}" class="img-responsive"></dt>
                        <dd>
                            <div><a href="{$vl.user.space_url}"  ucard="{$vl.uid}" style="font-size: 20px;">{$vl.user.nickname}</a></div>
                            <div>上海 浦东</div>
                            <div>模特</div>
                            <div>
                                膜拜 <a><span>{$vl.user.fans}</span></a>&nbsp;&nbsp;
                                帮忙 <a><span>4</span></a>
                            </div>
                        </dd>
                    </dl>
                    <div>
                        <a href="{:U('Usercenter/Message/care_delete',array('uid'=>$vl['user']['uid']))}"><attr title="取消膜拜"><img src="__IMG__/care_delete.jpg" class="img-responsive"></attr></a>
                    </div>
                </div>
            </li>
                </volist>
        </ul>
        </if>
        <if condition="$tabHash eq 'friends'">
            <ul>
                <if condition="!$friends"><p class="text-muted" style="text-align: center; font-size: 3em;">
                    <br><br>
                    现在还没有与您相互膜拜的人吆。O(∩_∩)O~
                    <br><br><br>
                </p></if>
                <volist name="friends" id="vl">
                    <li class="col-md-6 col-xs-12">
                        <div class="clearfix">
                            <dl class="dl-horizontal mb_0">
                                <dt><img src="{$vl.user.avatar128}" class="img-responsive"></dt>
                                <dd>
                                    <div><a href="{$vl.user.space_url}"  ucard="{$vl.uid}" style="font-size: 20px;">{$vl.user.nickname}</a></div>
                                    <div>上海 浦东</div>
                                    <div>模特</div>
                                    <div>
                                        膜拜 <a><span>{$vl.user.fans}</span></a>&nbsp;&nbsp;
                                        帮忙 <a><span>4</span></a>
                                    </div>
                                </dd>
                            </dl>
                            <div>
                                <a href="{:U('Usercenter/Message/care_delete',array('uid'=>$vl['user']['uid']))}"><attr title="取消膜拜"><img src="__IMG__/care_delete.jpg" class="img-responsive"></attr></a>
                            </div>
                        </div>
                    </li>
                </volist>
            </ul>
        </if>
        </div>
        <div class="clearfix"></div>
        <div style="width: 100%;text-align: center;">
            {:getPagination($totalCount,50)}
        </div>
    </div>

</block>